package com.taotao.rest.webservice;

import java.io.IOException;

import javax.jws.WebMethod;
import javax.jws.WebService;

import org.apache.solr.client.solrj.SolrServerException;

import com.taotao.rest.pojo.SearchResult;
@WebService
public interface SearchWebService {
	@WebMethod
	public SearchResult search(String query, int page, int rows) throws IOException, SolrServerException;
	
}
